<eq name="i" value="0">
<style type="text/css" media="print">
.noprint {
	display : none
}
</style>
<style type="text/css" media="screen,print">
#think_run_time,#think_page_trace {
	display:none;	
}
.x-barcode {
	padding:0;
	margin:0
}
body {
	margin:0;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12pt;
}
.td_frame {
	padding:5pt 0 5pt 0;
	border-bottom:2pt solid #000000;
}
img {
	padding:2pt;
	border:0;
}
p {
	margin:8pt 0 8pt 0;
}
h1 {
	font-size:16pt;
	font-weight:bold;
	margin:0;
}
h2 {
	font-size:14pt;
	font-weight:bold;
	margin:0;
}
.table_data_title {
	font-size:14pt;
	font-weight:bold;
	height:25pt;
}
.table_data_content {
	height:20pt;
	line-height:20pt;
}
#print_confirm {
	width:100%;
	height:30pt;
	border-top:1pt solid #999999;
	padding-top:4pt;
	background-color:#5473ae;
	position:absolute;
}
#btn_print {
	width:71pt;
	height:24pt;
	background-image:url(http://{$_SERVER['HTTP_HOST']}/tpl/{*TEMPLATE_NAME}/Public/orders/btn_print.gif);
	cursor:pointer;
	margin-left:auto;
	margin-right:auto;
}
#barcode {
	width:150pt;
	height:50pt;
	background:url(http://{$_SERVER['HTTP_HOST']}/tpl/{*TEMPLATE_NAME}/Public/orders/bar_code.gif) no-repeat;
}
</style>


<div id="print1">
</eq>
  <table class="table_frame" align="center" border="0" cellpadding="0" cellspacing="0" width="90%">
    <tbody>
      <tr>
        <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody>
              <tr>
                <td class="td_frame"><table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tbody>
                      <tr>
                        <td colspan="3"></td>
                        <td><div id="chk_print1" class="noprint">
                         
                          </div></td>
                      </tr>
                      <tr>
                        <td><img src="http://{$_SERVER['HTTP_HOST']}__ROOT__/{:GetSettValue('sitelogo')}" height="60" width="150pt"></td>
                        <td width="35%"><h1>{:GetSettValue('sitename')}</h1> 
                          {:GetSettValue('siteurl')}</td>
                        <td style="font-size: 16pt;" width="40%"></td>
                        <td width="20%"><p>客户：{$shippingInfo["member_firstname"]} {$shippingInfo["member_lastname"]}</p>
                          <p> 电话：{$shippingInfo["member_telephone"]}</p></td>
                      </tr>
                    </tbody>
                  </table></td>
              </tr>
            </tbody>
          </table></td>
      </tr>
      <tr>
        <td class="td_frame"><table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
            <tbody>
              <tr>
                <td><h2>订单号：{$shippingInfo["sn"]}</h2></td>
                <td align="right"><h2>订购日期：{:toDate($shippingInfo['dateline'])}</h2></td>
              </tr>
            </tbody>
          </table></td>
      </tr>
      <tr>
        <td class="td_frame"><table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
            <tbody>
              <tr class="table_data_title">
                <td>No</td>
                <td>货号</td>
                <td>商品图片</td>
                <td>商品名称</td>
                <td>单价</td>
                <td>成本价</td>
                <td>供应商</td>
                <td>属性</td>
                <td>数量</td>
                <td>小计</td>
              </tr>
              <volist name="list" id="vo">
              <tr>
                <td>{$vo.products_id}</td>
                <td>{$vo.serial}</td>
                 <td><img class="product" src="http://{$_SERVER['HTTP_HOST']}__ROOT__/{$vo.bigimage}" align="absmiddle" height="60" width="60"></td> 
                <td>{$vo.products_name}</td>
                <td>{$vo.currencies_code}{$vo.price}</td>
                <td>{$vo.costprice}</td>
                <td>{$vo.provider}</td>
                <td> <volist name="vo['products_model']" id="subvo">
{$subvo['name']}:{$subvo['value']}</volist></td>
                <td>{$vo.products_quantity}</td>
                <td>{$vo.currencies_code}{$vo.products_total}</td>
               
              </tr>
              </volist>
            </tbody>
          </table></td>
      </tr>
      <tr>
        <td class="td_frame"><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody>
              <tr>
                <td style="height: 150pt;" valign="top" width="80%"> <p>订单附言：</p>
                {$shippingInfo.BuyNote}
                </td>
                <td valign="top" width="20%"><p>商品总价：{$vo.currencies_code}{$products_total}</p>
                  <p>配送费用：{$vo.currencies_code}{$shippingInfo.shippingmoney}</p>
                  <p>保价费用：{$vo.currencies_code}{$shippingInfo.insurance}</p>
                  <p>支付手续费：{$vo.currencies_code}{$shippingInfo.paymoney}</p>
                  <p>总重量：{$weights}千克</p></td>
              </tr>
            </tbody>
          </table></td>
      </tr>
      </table>
       <table class="table_frame" align="center" border="0" cellpadding="0" cellspacing="0" width="90%" style="font-size:16pt;">
      <tr>
        <td class="td_frame" align="center"><table width="90%" border="0" cellpadding="0" cellspacing="1" style="background-color:#000">
  <tr> 
    <td colspan="4" bgcolor="#FFFFFF" style="font-weight: bold;">收货信息</td>
  </tr>
  <tr>
    <td width="12%" rowspan="2" bgcolor="#FFFFFF">姓名:</td>
    <td width="34%" bgcolor="#FFFFFF">{$shippingInfo.delivery_firstname}/{$shippingInfo.delivery_lastname}</td>
    <td width="33%" bgcolor="#FFFFFF">支付方式:</td>
    <td width="21%" bgcolor="#FFFFFF">{$shippingInfo.payment_module_code}</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">Email:{$shippingInfo.delivery_email}</td>
    <td width="33%" bgcolor="#FFFFFF">配送方式:</td>
    <td width="21%" bgcolor="#FFFFFF">{$shippingInfo['shipping_method']}</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">国家:</td>
    <td bgcolor="#FFFFFF">{$shippingInfo.delivery_country}</td>
    <td bgcolor="#FFFFFF">省份:</td>
    <td bgcolor="#FFFFFF">{$shippingInfo.delivery_state}</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">城市:</td>
    <td bgcolor="#FFFFFF">{$shippingInfo.delivery_city}</td>
    <td bgcolor="#FFFFFF">地址:</td>
    <td bgcolor="#FFFFFF">{$shippingInfo.delivery_address}</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">邮编:</td>
    <td bgcolor="#FFFFFF">{$shippingInfo.delivery_zip}</td>
    <td bgcolor="#FFFFFF">电话:</td>
    <td bgcolor="#FFFFFF">{$shippingInfo.delivery_telephone}</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">备注信息:</td>
    <td colspan="3" bgcolor="#FFFFFF">{$shippingInfo.BuyNote}</td>
  </tr>
  <tr>
    <td colspan="4" bgcolor="#FFFFFF" style="text-align: center;">此次购买 <span style="color: #F93;">{$count}</span> 件商品 运费金额 <span style="color: #F93;">{$shippingInfo.shippingmoney}</span> 应付总金额 <span style="color: #F93;">{$shippingInfo['orders_total']+$shippingInfo['shippingmoney']}</span> （商品金额+运费金额)</td> 
  </tr>
</table></td>
      </tr>
      
    </tbody>
  </table>
  <eq name="all_count" value="i">
</div>
</body>
</html>
</eq>